﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _5GenericLists
{
    class GenericLists
    {
        static void Main()
        {
            GenericList<string> list = new GenericList<string>(5);

    //   adding elements
            for (int i = 0; i < 10; i++)
            {
                list.Add("value "+i.ToString());
            }

    //  insert element

            list.InsertElementAt("asd", 6);

    // remove element from

            list.RemoveElementFrom(3);
        }
    }
}
